package com.panda.takeaway.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author John
 * @create 2021-08-06-10:52
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@TableName(value = "address")
public class Address extends BaseEntity {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private Long userId;
    private String receiveTele;
    private String receiveName;
    private Byte sex;
    private Long schoolId;
    private String detail;
    private Byte defaultAddress;


}
